Automattic\Jetpack\Publicize\REST_API\Connections_Controller S

Total Complexity 32
Dependencies 5
Dependents 2
Total lines 469
Lines of code 319
Logical lines of code 97
Comment lines 74
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
create_item()
S
49 5 32
get_items()
S
53 5 23
update_item()
S
51 4 28
register_routes()
S
41 1 70
delete_item()
S
54 4 23
update_item_permissions_check()
S
57 4 17
get_item_schema()
S
46 2 46
get_the_item_schema()
S
44 1 54
create_item_permissions_check()
S
69 2 7
delete_item_permissions_check()
S
69 2 7
__construct()
S
64 1 9
get_items_permissions_check()
S
81 1 3